package com.itheima.demo05;

public class TicketTest {
    public static void main(String[] args) {
        TicketThread t1 = new TicketThread();
        t1.setName("窗口1");
        TicketThread t2 = new TicketThread();
        t2.setName("窗口2");
        TicketThread t3 = new TicketThread();
        t3.setName("窗口3");

        t1.start();
        t2.start();
        t3.start();

    }
}
